@layout("/common/container.html", {"title" : "异常日志"}){
<form class="e-form">
    <div class="card">
        <#card:head title="异常日志" icon="la la-bars"/>
        <div class="card-body">
            <div class="row">
                <!-- str:表单区域 -->
                <input type="hidden" id="id" name="id" value="${object.id}" />
                <div class="col-lg-6 col-12">
                    <div class="form-group e-form-group row">
                        <label class="col-4 col-form-label">
                            异常代码：
                        </label>
                        <div class="col-8">
                            <span class="form-control form-control-static">${object.code}</span>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6 col-12">
                    <div class="form-group e-form-group row">
                        <label class="col-4 col-form-label">
                            异常类型：
                        </label>
                        <div class="col-8">
                            <span class="form-control form-control-static">${object.type}</span>
                        </div>
                    </div>
                </div>
                <div class="col-12">
                    <div class="form-group e-form-group row">
                        <label class="col-md-2 col-4 col-form-label">
                            请求地址：
                        </label>
                        <div class="col-md-10 col-8">
                            <span class="form-control form-control-static">${object.url}</span>
                        </div>
                    </div>
                </div>
                <div class="col-12">
                    <div class="form-group e-form-group row">
                        <label class="col-md-2 col-4 col-form-label">
                            异常信息：
                        </label>
                        <div class="col-md-10 col-8">
                            <span class="form-control form-control-static">${object.message}</span>
                        </div>
                    </div>
                </div>
                <div class="col-12">
                    <div class="form-group e-form-group row">
                        <label class="col-md-2 col-4 col-form-label">
                            异常堆栈：
                        </label>
                        <div class="col-md-10 col-8">
                            <div class="e-scrollable" data-scrollable="true" style="max-height: 400px;">
                                <div id="trace" class="form-control form-control-static">
                                    ${strutil.replace(object.trace, '\n\t', '<br>')}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6 col-12">
                    <div class="form-group e-form-group row">
                        <label class="col-4 col-form-label">
                            触发用户：
                        </label>
                        <div class="col-8">
                            <span class="form-control form-control-static">${object.nickname}</span>
                        </div>
                    </div>
                </div>
                <div class="col-lg-6 col-12">
                    <div class="form-group e-form-group row">
                        <label class="col-4 col-form-label">
                            触发时间：
                        </label>
                        <div class="col-8">
                            <span class="form-control form-control-static">${object.triggerTime,dateFormat='yyyy-MM-dd HH:mm'}</span>
                        </div>
                    </div>
                </div>
                <!-- end:表单区域 -->
            </div>
        </div>
        <div class="card-foot">
            <div class="e-form-actions text-center">
                <#btn:save permission="sys:exception:save"/>
            </div>
        </div>
    </div>
</form>
<!--begin::页面脚本 -->
<#script src="static/modular/sys/exception/input.js" />
<!--end::页面脚本 -->
@}